﻿using System;
using Autodesk.Revit.DB;

namespace DormantWindow
{
	public class RoofEdge
	{
		public Line Edge
		{
			get
			{
				return this.m_Edge;
			}
		}

		public bool DefinesSlope
		{
			get
			{
				return this.m_DefinesSlope;
			}
		}

		public double SlopeAngle
		{
			get
			{
				return this.m_SlopeAngle;
			}
		}

		public RoofEdge(Line edge, bool defSlope, double slopeAngle)
		{
			this.m_Edge = edge;
			this.m_DefinesSlope = defSlope;
			this.m_SlopeAngle = slopeAngle;
		}

		public RoofEdge(RoofEdge roofEdge)
		{
			this.m_Edge = roofEdge.Edge;
			this.m_DefinesSlope = roofEdge.DefinesSlope;
			this.m_SlopeAngle = roofEdge.SlopeAngle;
		}

		private Line m_Edge;

		private bool m_DefinesSlope;

		private double m_SlopeAngle;
	}
}
